minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
quot2(0, s1(y)) -> 0
quot2(s1(x), s1(y)) -> s1(quot2(minus2(x, y), s1(y)))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
app2(nil, k) -> k
app2(l, nil) -> l
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
sum1(cons2(x, nil)) -> cons2(x, nil)
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
sum1(app2(l, cons2(x, cons2(y, k)))) -> sum1(app2(l, sum1(cons2(x, cons2(y, k)))))
↳ QTRS
↳ DependencyPairsProof
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
quot2(0, s1(y)) -> 0
quot2(s1(x), s1(y)) -> s1(quot2(minus2(x, y), s1(y)))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
app2(nil, k) -> k
app2(l, nil) -> l
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
sum1(cons2(x, nil)) -> cons2(x, nil)
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
sum1(app2(l, cons2(x, cons2(y, k)))) -> sum1(app2(l, sum1(cons2(x, cons2(y, k)))))
QUOT2(s1(x), s1(y)) -> QUOT2(minus2(x, y), s1(y))
PLUS2(s1(x), y) -> PLUS2(x, y)
SUM1(app2(l, cons2(x, cons2(y, k)))) -> APP2(l, sum1(cons2(x, cons2(y, k))))
SUM1(cons2(x, cons2(y, l))) -> PLUS2(x, y)
MINUS2(minus2(x, y), z) -> PLUS2(y, z)
SUM1(cons2(x, cons2(y, l))) -> SUM1(cons2(plus2(x, y), l))
SUM1(app2(l, cons2(x, cons2(y, k)))) -> SUM1(cons2(x, cons2(y, k)))
MINUS2(minus2(x, y), z) -> MINUS2(x, plus2(y, z))
MINUS2(s1(x), s1(y)) -> MINUS2(x, y)
QUOT2(s1(x), s1(y)) -> MINUS2(x, y)
SUM1(app2(l, cons2(x, cons2(y, k)))) -> SUM1(app2(l, sum1(cons2(x, cons2(y, k)))))
APP2(cons2(x, l), k) -> APP2(l, k)
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
quot2(0, s1(y)) -> 0
quot2(s1(x), s1(y)) -> s1(quot2(minus2(x, y), s1(y)))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
app2(nil, k) -> k
app2(l, nil) -> l
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
sum1(cons2(x, nil)) -> cons2(x, nil)
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
sum1(app2(l, cons2(x, cons2(y, k)))) -> sum1(app2(l, sum1(cons2(x, cons2(y, k)))))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
QUOT2(s1(x), s1(y)) -> QUOT2(minus2(x, y), s1(y))
PLUS2(s1(x), y) -> PLUS2(x, y)
SUM1(app2(l, cons2(x, cons2(y, k)))) -> APP2(l, sum1(cons2(x, cons2(y, k))))
SUM1(cons2(x, cons2(y, l))) -> PLUS2(x, y)
MINUS2(minus2(x, y), z) -> PLUS2(y, z)
SUM1(cons2(x, cons2(y, l))) -> SUM1(cons2(plus2(x, y), l))
SUM1(app2(l, cons2(x, cons2(y, k)))) -> SUM1(cons2(x, cons2(y, k)))
MINUS2(minus2(x, y), z) -> MINUS2(x, plus2(y, z))
MINUS2(s1(x), s1(y)) -> MINUS2(x, y)
QUOT2(s1(x), s1(y)) -> MINUS2(x, y)
SUM1(app2(l, cons2(x, cons2(y, k)))) -> SUM1(app2(l, sum1(cons2(x, cons2(y, k)))))
APP2(cons2(x, l), k) -> APP2(l, k)
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
quot2(0, s1(y)) -> 0
quot2(s1(x), s1(y)) -> s1(quot2(minus2(x, y), s1(y)))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
app2(nil, k) -> k
app2(l, nil) -> l
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
sum1(cons2(x, nil)) -> cons2(x, nil)
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
sum1(app2(l, cons2(x, cons2(y, k)))) -> sum1(app2(l, sum1(cons2(x, cons2(y, k)))))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
APP2(cons2(x, l), k) -> APP2(l, k)
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
quot2(0, s1(y)) -> 0
quot2(s1(x), s1(y)) -> s1(quot2(minus2(x, y), s1(y)))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
app2(nil, k) -> k
app2(l, nil) -> l
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
sum1(cons2(x, nil)) -> cons2(x, nil)
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
sum1(app2(l, cons2(x, cons2(y, k)))) -> sum1(app2(l, sum1(cons2(x, cons2(y, k)))))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(cons2(x, l), k) -> APP2(l, k)
POL( APP2(x1, x2) ) = max{0, x1 - 1}
POL( cons2(x1, x2) ) = x2 + 2
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
quot2(0, s1(y)) -> 0
quot2(s1(x), s1(y)) -> s1(quot2(minus2(x, y), s1(y)))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
app2(nil, k) -> k
app2(l, nil) -> l
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
sum1(cons2(x, nil)) -> cons2(x, nil)
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
sum1(app2(l, cons2(x, cons2(y, k)))) -> sum1(app2(l, sum1(cons2(x, cons2(y, k)))))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
PLUS2(s1(x), y) -> PLUS2(x, y)
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
quot2(0, s1(y)) -> 0
quot2(s1(x), s1(y)) -> s1(quot2(minus2(x, y), s1(y)))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
app2(nil, k) -> k
app2(l, nil) -> l
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
sum1(cons2(x, nil)) -> cons2(x, nil)
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
sum1(app2(l, cons2(x, cons2(y, k)))) -> sum1(app2(l, sum1(cons2(x, cons2(y, k)))))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
PLUS2(s1(x), y) -> PLUS2(x, y)
POL( PLUS2(x1, x2) ) = max{0, x1 - 1}
POL( s1(x1) ) = x1 + 2
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
quot2(0, s1(y)) -> 0
quot2(s1(x), s1(y)) -> s1(quot2(minus2(x, y), s1(y)))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
app2(nil, k) -> k
app2(l, nil) -> l
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
sum1(cons2(x, nil)) -> cons2(x, nil)
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
sum1(app2(l, cons2(x, cons2(y, k)))) -> sum1(app2(l, sum1(cons2(x, cons2(y, k)))))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
SUM1(cons2(x, cons2(y, l))) -> SUM1(cons2(plus2(x, y), l))
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
quot2(0, s1(y)) -> 0
quot2(s1(x), s1(y)) -> s1(quot2(minus2(x, y), s1(y)))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
app2(nil, k) -> k
app2(l, nil) -> l
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
sum1(cons2(x, nil)) -> cons2(x, nil)
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
sum1(app2(l, cons2(x, cons2(y, k)))) -> sum1(app2(l, sum1(cons2(x, cons2(y, k)))))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
SUM1(cons2(x, cons2(y, l))) -> SUM1(cons2(plus2(x, y), l))
POL( SUM1(x1) ) = max{0, x1 - 2}
POL( cons2(x1, x2) ) = x2 + 2
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
quot2(0, s1(y)) -> 0
quot2(s1(x), s1(y)) -> s1(quot2(minus2(x, y), s1(y)))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
app2(nil, k) -> k
app2(l, nil) -> l
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
sum1(cons2(x, nil)) -> cons2(x, nil)
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
sum1(app2(l, cons2(x, cons2(y, k)))) -> sum1(app2(l, sum1(cons2(x, cons2(y, k)))))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
SUM1(app2(l, cons2(x, cons2(y, k)))) -> SUM1(app2(l, sum1(cons2(x, cons2(y, k)))))
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
quot2(0, s1(y)) -> 0
quot2(s1(x), s1(y)) -> s1(quot2(minus2(x, y), s1(y)))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
app2(nil, k) -> k
app2(l, nil) -> l
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
sum1(cons2(x, nil)) -> cons2(x, nil)
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
sum1(app2(l, cons2(x, cons2(y, k)))) -> sum1(app2(l, sum1(cons2(x, cons2(y, k)))))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
SUM1(app2(l, cons2(x, cons2(y, k)))) -> SUM1(app2(l, sum1(cons2(x, cons2(y, k)))))
POL( SUM1(x1) ) = max{0, x1 - 2}
POL( app2(x1, x2) ) = x1 + x2
POL( cons2(x1, x2) ) = x2 + 2
POL( sum1(x1) ) = 2
POL( nil ) = 0
app2(nil, k) -> k
sum1(cons2(x, nil)) -> cons2(x, nil)
app2(l, nil) -> l
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
quot2(0, s1(y)) -> 0
quot2(s1(x), s1(y)) -> s1(quot2(minus2(x, y), s1(y)))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
app2(nil, k) -> k
app2(l, nil) -> l
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
sum1(cons2(x, nil)) -> cons2(x, nil)
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
sum1(app2(l, cons2(x, cons2(y, k)))) -> sum1(app2(l, sum1(cons2(x, cons2(y, k)))))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
MINUS2(minus2(x, y), z) -> MINUS2(x, plus2(y, z))
MINUS2(s1(x), s1(y)) -> MINUS2(x, y)
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
quot2(0, s1(y)) -> 0
quot2(s1(x), s1(y)) -> s1(quot2(minus2(x, y), s1(y)))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
app2(nil, k) -> k
app2(l, nil) -> l
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
sum1(cons2(x, nil)) -> cons2(x, nil)
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
sum1(app2(l, cons2(x, cons2(y, k)))) -> sum1(app2(l, sum1(cons2(x, cons2(y, k)))))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MINUS2(minus2(x, y), z) -> MINUS2(x, plus2(y, z))
Used ordering: Polynomial Order [17,21] with Interpretation:
MINUS2(s1(x), s1(y)) -> MINUS2(x, y)
POL( MINUS2(x1, x2) ) = max{0, x1 - 1}
POL( minus2(x1, x2) ) = x1 + 2
POL( s1(x1) ) = x1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
MINUS2(s1(x), s1(y)) -> MINUS2(x, y)
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
quot2(0, s1(y)) -> 0
quot2(s1(x), s1(y)) -> s1(quot2(minus2(x, y), s1(y)))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
app2(nil, k) -> k
app2(l, nil) -> l
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
sum1(cons2(x, nil)) -> cons2(x, nil)
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
sum1(app2(l, cons2(x, cons2(y, k)))) -> sum1(app2(l, sum1(cons2(x, cons2(y, k)))))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MINUS2(s1(x), s1(y)) -> MINUS2(x, y)
POL( MINUS2(x1, x2) ) = max{0, x2 - 1}
POL( s1(x1) ) = x1 + 2
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
quot2(0, s1(y)) -> 0
quot2(s1(x), s1(y)) -> s1(quot2(minus2(x, y), s1(y)))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
app2(nil, k) -> k
app2(l, nil) -> l
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
sum1(cons2(x, nil)) -> cons2(x, nil)
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
sum1(app2(l, cons2(x, cons2(y, k)))) -> sum1(app2(l, sum1(cons2(x, cons2(y, k)))))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
QUOT2(s1(x), s1(y)) -> QUOT2(minus2(x, y), s1(y))
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
quot2(0, s1(y)) -> 0
quot2(s1(x), s1(y)) -> s1(quot2(minus2(x, y), s1(y)))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
app2(nil, k) -> k
app2(l, nil) -> l
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
sum1(cons2(x, nil)) -> cons2(x, nil)
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
sum1(app2(l, cons2(x, cons2(y, k)))) -> sum1(app2(l, sum1(cons2(x, cons2(y, k)))))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
QUOT2(s1(x), s1(y)) -> QUOT2(minus2(x, y), s1(y))
POL( QUOT2(x1, x2) ) = max{0, x1 - 1}
POL( s1(x1) ) = x1 + 2
POL( minus2(x1, x2) ) = x1
minus2(x, 0) -> x
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
minus2(s1(x), s1(y)) -> minus2(x, y)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
quot2(0, s1(y)) -> 0
quot2(s1(x), s1(y)) -> s1(quot2(minus2(x, y), s1(y)))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
minus2(minus2(x, y), z) -> minus2(x, plus2(y, z))
app2(nil, k) -> k
app2(l, nil) -> l
app2(cons2(x, l), k) -> cons2(x, app2(l, k))
sum1(cons2(x, nil)) -> cons2(x, nil)
sum1(cons2(x, cons2(y, l))) -> sum1(cons2(plus2(x, y), l))
sum1(app2(l, cons2(x, cons2(y, k)))) -> sum1(app2(l, sum1(cons2(x, cons2(y, k)))))